package com.xls.boxlibrary.duihuanjibi;

import android.widget.TextView;

import androidx.recyclerview.widget.RecyclerView;

import com.xls.boxlibrary.entity.JiFenMingXiEntity;
import com.xls.boxlibrary.entity.UserEntity;
import com.xls.boxlibrary.mvp.BasePresenter;
import com.xls.boxlibrary.mvp.BaseView;
import com.xls.boxlibrary.network.RequestCallBack;

/**
 * MVPPlugin
 */

public class DuiHuanJiBiContract {
    interface View extends BaseView {

        void showData(JiFenMingXiEntity viewData);

        void showTiXianBtnState(boolean b);

        void showLevel(UserEntity requestData, JiFenMingXiEntity jiFenMingXiEntity);

        TextView getTiXianBtn();
    }

    interface  Presenter extends BasePresenter<View> {

        RecyclerView.Adapter getAdapter();

        void duihuan();

        void getPermissions(String source, RequestCallBack<String> callBack);

        void getOauthConfig();
    }
}
